package top.wherewego.vnt.view;

import android.view.View;

import androidx.annotation.NonNull;

import java.util.List;

import top.wherewego.vnt.R;
import top.wherewego.vnt.bean.Conf;

public class ConfigListAdapter extends DefaultAdapter<Conf> {
    public ConfigListAdapter(List<Conf> infos) {
        super(infos);
    }

    @NonNull
    @Override
    public BaseHolder<Conf> getHolder(@NonNull View v, int viewType) {
        return new ConfigListHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.item_conf_list;
    }
}
